]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
network: don't ask for always-ask secrets when interaction isn't allowed
authorDan Williams <dcbw@redhat.com>
Thu, 28 Jun 2012 22:07:42 +0000 (17:07 -0500)
committerDan Williams <dcbw@redhat.com>
Fri, 29 Jun 2012 14:32:45 +0000 (09:32 -0500)
Clearly a typo...

https://bugzilla.gnome.org/show_bug.cgi?id=679091

src/shell-network-agent.c

index ca60539f71518d7536fd805a5de5c1653c45f75f..c8d3a9863494cfa9ffc7fdc95ca94b175fa9cb19 100644 (file)
@@ -406,7 +406,7 @@ shell_network_agent_get_secrets (NMSecretAgent                 *agent,
   g_hash_table_replace (self->priv->requests, request->request_id, request);
 
   if ((flags & NM_SECRET_AGENT_GET_SECRETS_FLAG_REQUEST_NEW) ||
-      (flags && NM_SECRET_AGENT_GET_SECRETS_FLAG_ALLOW_INTERACTION
+      ((flags & NM_SECRET_AGENT_GET_SECRETS_FLAG_ALLOW_INTERACTION)
        && is_connection_always_ask (request->connection)))
     {
       request_secrets_from_ui (request);